import requests


class LoginAPI:
    @classmethod
    def Login(cls, req_json):
        response = requests.post("http://ihrm2-test.itheima.net/api/sys/login", json=req_json)
        return response


if __name__ == '__main__':
    req_data =  {
        "mobile": "13800000002",
        "password": "1234566",
    }
    print(LoginAPI.Login(req_data).json())